Skip to content

[3.14] gh-149267: Document ast.Constant.kind attribute (GH-149268)#149293

Merged
JelleZijlstra merged 2 commits intopython:3.14from
miss-islington:backport-3a1df78-3.14
May 3, 2026
Merged

[3.14] gh-149267: Document ast.Constant.kind attribute (GH-149268)#149293
JelleZijlstra merged 2 commits intopython:3.14from
miss-islington:backport-3a1df78-3.14

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented May 2, 2026

The kind attribute of ast.Constant was not mentioned in the
documentation. It is set to 'u' for u-prefixed string literals
and None for all other constants.


(cherry picked from commit 3a1df78)

Co-authored-by: Anuj Nitin Bharambe 119653366+anujbharambe@users.noreply.github.com
Co-authored-by: Anuj Bharambe anujnitinb@gmail.com

The kind attribute of ast.Constant was not mentioned in the
documentation. It is set to 'u' for u-prefixed string literals
and None for all other constants.

---------
(cherry picked from commit 3a1df78)

Co-authored-by: Anuj Nitin Bharambe <119653366+anujbharambe@users.noreply.github.com>
Co-authored-by: Anuj Bharambe <anujnitinb@gmail.com>
@JelleZijlstra JelleZijlstra merged commit b4b2e0c into python:3.14 May 3, 2026
30 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs May 3, 2026
@miss-islington miss-islington deleted the backport-3a1df78-3.14 branch May 3, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants